package com.itheima.common.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class BlogVo {
    private Long id;
    @ApiModelProperty(value = "博客标题")
    private String title;
    @ApiModelProperty(value = "博客简介")
    private String summary;
    @ApiModelProperty(value = "博客内容")
    private String content;
    @ApiModelProperty(value = "标签")
    private String tag;
    @ApiModelProperty(value = "博客点击数")
    private Integer clickCount;

    @ApiModelProperty(value = "博客收藏数")
    private Integer collectCount;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "是否原创（0:不是 1：是）")
    private String isOriginal;
    @ApiModelProperty(value = "作者")
    private String author;
    @ApiModelProperty(value = "文章出处")
    private String articlesPart;

    @ApiModelProperty(value = "博客分类")
    private String category;

    @ApiModelProperty(value = "是否发布/上架：0：否，1：是")
    private String isPublish;

    @ApiModelProperty(value = "是否开启评论(0:否 1:是)")
    private Boolean openComment;

    @ApiModelProperty(value = "类型【0 博客， 1：推广】")
    private Boolean type;

    @ApiModelProperty(value = "投稿用户UID")
    private String userId;

    @ApiModelProperty(value = "文章来源【0 后台添加，1 用户投稿】")
    private Boolean articleSource;

    @ApiModelProperty(value = "省份")
    private String province;

}
